package org.example.util;

import javax.servlet.http.HttpServletRequest;
import java.io.BufferedReader;
import java.io.IOException;

public class RequestUtil {

    public static String getRequestParameterStr(HttpServletRequest req) throws IOException {
        BufferedReader reader = req.getReader();
        String json = reader.readLine();
        reader.close();

        return json;
    }
}